<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>添加会员</title>
	<hdjs />
	<css file='__PUBLIC__/Css/mod.base.css' />
</head>
<body>
	
	<form action="" method="post" enctype='multipart/form-data' class='hd-form'>
		<div class="wrap">
			<div class="title-header">添加会员</div>
			<div class="menu_list">
				<ul>
					<li>
						<a href="{:U('User/index')}" >
							会员列表
						</a>
					</li>
					<li>
						<a href="javascript:;" class="action">
							编辑会员
						</a>
					</li>
				</ul>
			</div>
			<table class='table2'>
				<tbody>
					<tr>
						<td class="w100">用户名</td>
						<td>
							<input type="text" name="username"  class='w200' value="{$field.username}" />
						</td>
					</tr>
					<tr>
						<td class="w100">昵称</td>
						<td>
							<input type="text" name="nickname"  class='w200' value="{$field.nickname}"/>
						</td>
					</tr>
					<tr>
						<td class="w100">邮箱</td>
						<td>
							<input type="text" name="email"  class='w200'  value="{$field.email}"/>
						</td>
					</tr>
					<tr>
						<td>密码</td>
						<td>
							<input type="password" name="password"  class='w200'/>
						</td>
					</tr>
					<tr>
						<td>确认密码</td>
						<td>
							<input type="password" name="passwords"  class='w200'/>
						</td>
					</tr>
					<tr>
						<td>状态</td>
						<td>
							<label >
								<input <if condition="$field['lock']">checked="checked"</if> name="lock" type="radio"  value="1" /> 锁定
							</label>
							<label >
								<input <if condition="!$field['lock']">checked="checked"</if> name="lock" type="radio" value="0" /> 正常
							</label>
						</td>
					</tr>		
				</tbody>
			</table>
		</div>
		<div class="position-bottom">
			<input type="submit" class='hd-success' value="添加" />
			<input type="hidden" name="uid" value="{$field.uid}" />
			<input type="button" class="hd-cancel" onclick="location.href='{:U('User/index')}'" value="返回"/>	
		</div>
		
	</form>
	
	
</body>
</html>